package com.donquijote.dynamic.service.impl;

import com.donquijote.dynamic.service.OrderService;

import java.lang.reflect.Method;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-27 09:08
 */
public class OrderServiceImpl implements OrderService {
    @Override
    public void queryOrder() {
        try {
            Thread.sleep(145);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("查询订单");
    }

    @Override
    public void insertOrder() {
        try {
            Thread.sleep(458);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        System.out.println("新增订单");
    }

    @Override
    public void modifyOrder() {
        try {
            Thread.sleep(236);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("修改订单");
    }

}
